# frozen_string_literal: true

require "bundler/gem_tasks"
require "rake/testtask"
require "ios_dev"

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList["test/**/test_*.rb"]
end

# task :tag do
#   system "git tag -d #{IosDev::VERSION}"
#   system "git push origin :refs/tags/#{IosDev::VERSION}"
#   sh "git tag #{IosDev::VERSION}"
#   sh "git push origin #{IosDev::VERSION}"
# end
#
# task :push do
#   Dir["pkg/*.gem"].each do |file|
#     sh "gem inabox -o -g 'http://epmas:0jr3wLux@172.21.163.100:9292' #{file}"
#     sh "gem inabox -o -g 'http://epmas:0jr3wLux@172.16.133.6:9292' #{file}"
#   end
# end

task default: :test
